<!DOCTYPE html>
<html lang="en"  xmlns:th="http://wwww.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>update更新页面</title>

</head>
<body>

<form method="post" th:action="@{/edit}">
  <table >
    <thead>
    <tr>
      <td>#</td>
      <td>id</td>
      <td>username</td>
      <td>content</td>
    </tr>
    </thead>

    <tbody>
    <tr>
      <!--    <td  th:text="${user.id}"  ></td>-->
      <!--    <td th:text="${user.username}"></td>-->
      <!--    <td th:text="${user.content}"></td>-->
      <input hidden="true" name="id" th:text="${user.id}">
      <input type="text" name="username" th:text="${user.username}">
      <input type="text" name="content" th:text="${user.content}">

    </tr>
    <tr>
      <input type="submit" value="submit">
    </tr>
    </tbody>
  </table>

</form>
</body>
</html>